package com.ruoyi.tws.service;

import com.ruoyi.tws.api.domain.Payment;
import com.ruoyi.common.core.web.controller.BaseService;

/**
 * 支付Service接口
 *
 * @author ruoyi
 * @date 2023-02-23
 */
public interface IPaymentService extends BaseService<Payment> {

    /**
     * 新增支付
     */
    boolean add(Payment payment);

    /**
     * 线下支付
     */
    boolean payoff(Payment payment);

    /**
     * 基于资金单上传订单、司机、车辆至省平台
     * @param id
     * @return
     */
    boolean upload(Long id);

}
